/*
 * BusinessListDialogController.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.dialog;

import android.content.Context;
import android.content.DialogInterface;

/**
 * BusinessListDialogController
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 18:02
 */
public class BusinessListDialogController {

    private Context mContext;

    private DialogInterface.OnClickListener mOnClickListener;

    private String mTitle;

    private String mMessage;

    private String[] items;

    private boolean mCancelable;

    public BusinessListDialogController(Context context) {
        mContext = context;
    }

    Context getContext() {
        return mContext;
    }

    void setContext(Context context) {
        mContext = context;
    }

    DialogInterface.OnClickListener getOnClickListener() {
        return mOnClickListener;
    }

    void setOnClickListener(DialogInterface.OnClickListener onClickListener) {
        mOnClickListener = onClickListener;
    }

    String getTitle() {
        return mTitle;
    }

    void setTitle(String title) {
        mTitle = title;
    }

    String getMessage() {
        return mMessage;
    }

    void setMessage(String message) {
        mMessage = message;
    }

    String[] getItems() {
        return items;
    }

    void setItems(String[] items) {
        this.items = items;
    }

    boolean isCancelable() {
        return mCancelable;
    }

    void setCancelable(boolean cancelable) {
        mCancelable = cancelable;
    }
}
